package com.laker.admin.module.excel.facade.impl;

import com.laker.admin.module.excel.application.UserApplication;
import com.laker.admin.module.excel.domain.User;
import com.laker.admin.module.excel.facade.UserFacade;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author huahaixu
 * @date 2021/4/1 16:42
 * @description
 */
@Service
public class UserFacadeImpl implements UserFacade {

    @Resource
    private UserApplication userApplication;

    @Override
    public User getUserByName(String userName) {
        return userApplication.getUserByName(userName);
    }
}
